package com.maiji.cloud.utils;

public enum ComDeleteReasonEnum {

    /**
     * 0:评论 1:收到的赞 2:新粉丝（关注） 3:回复记录 4:@ 5：评论的评论
     */
    UserDelete(1,"已被本人删除"),
    AuthorDelete(2,"已被作者删除"),
    ManageDelete(3,"已被管理员删除");

    private Integer value;
    private String message;

    ComDeleteReasonEnum (int value , String message) {
        this.message = message;
        this.value = value;
    }

    public String getMessage() {
        return message;
    }

    public ComDeleteReasonEnum setMessage(String message) {
        this.message = message;
        return this;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return this.message;
    }

}
